package com.miplus.ccrm.core.service.cust;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.common.JSysUser;
import com.miplus.ccrm.core.controller.vo.cust.*;
import com.miplus.ccrm.core.pojo.ConContact;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author pc
* @description 针对表【con_contact(客户联系人表)】的数据库操作Service
* @createDate 2024-03-19 21:32:43
*/
public interface ConContactService extends IService<ConContact> {

    IPage<ContResVo> contactList(JSysUser user, ContReqVo paras);

    List<ConSimplifyResVo> contactSimplifyList(String customernumber);

    ContResVo contactInfo(Long contactid);

    CmdResVo updateContact(String $usrid,ContEditVo paras);

    CmdResVo insertContact(String $usrid,ContEditVo paras);

    CmdResVo deleteContact(String $usrid, Long contactid);

    CmdResVo getSecuPhone(Long contactid);

    String getPhone(Long contactid);
}
